package cn.xuan.zp.service.resource;

import java.util.List;

import cn.xuan.zp.db.domain.Resource;
import cn.xuan.zp.db.domain.Role;
import cn.xuan.zp.service.IService;

public interface IResourceService extends IService<Resource>{
	
	/***
	 * 根据角色查询资源
	 * @param roles
	 * @return
	 * @throws Exception
	 */
	List<Resource> queryResourceByRoles(List<Role> roles)throws Exception;

}
